const http = require("http");
const fs = require("fs");
var path = require("path");

var filePath = path.join(__dirname, "/index.html");

http.createServer((req, res) => {
    
    req.pipe(process.stdout);
    res.end("success");
}).listen(8081);

console.log("server is listening 8081");